﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using TTCN_QLDiemC3.MyUserControl.UCHienThi;
using BLL;

namespace TTCN_QLDiemC3.MyUserControl.UCMenu
{
    public partial class UCChucNangLop : UserControl
    {
        public UCChucNangLop()
        {
            InitializeComponent();
        }

        private void btnDanhSachLop_Click(object sender, EventArgs e)
        {
            UCDanhSachLop ucchucnanggv = new UCDanhSachLop();
            Form form = this.ParentForm;
            ControlAccess.ShowConTrol(form, ucchucnanggv, "grbHienThiChucNang"); 
        }

        private void btnThemLop_Click(object sender, EventArgs e)
        {
            UCThemLop ucchucnanggv = new UCThemLop();
            Form form = this.ParentForm;
            ControlAccess.ShowConTrol(form, ucchucnanggv, "grbHienThiChucNang"); 
        }
    }
}
